//
//  NSArray+City.m
//  XYZKitDemo
//
//  Created by 谢英泽 on 2016/11/20.
//  Copyright © 2016年 谢英泽. All rights reserved.
//

#import "NSArray+City.h"

@implementation NSArray (City)

+ (NSArray *)getCityArrayFromResource:(NSString *)name ofType:(NSString *)type {
    NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:type];
    return [NSArray arrayWithContentsOfFile:path];
}

@end
